#ifndef VIEWER_H
#define VIEWER_H

#include <QGLViewer/qglviewer.h>
#include "shapes/Sphere.h"

using namespace shapes;


class Viewer : public QGLViewer
{

protected :
  virtual void draw();
  virtual void init();
  void loadImage(QString imageName);

public:
    Viewer(QWidget *parent = 0);
    ~Viewer();

private:
    GLuint textureName;
    float ratio, u_max, v_max;
    Sphere world;

};

#endif // VIEWER_H
